// restFul API选项
const restfulApiOptions = [
    {
        label: 'GET',
        value: 'get'
    },
    {
        label: 'POST',
        value: 'post'
    },
    {
        label: 'PUT',
        value: 'put'
    },
    {
        label: 'DELETE',
        value: 'delete'
    },
    {
        label: 'PATCH',
        value: 'patch'
    }
]

// 性别选项
const genderOptions = [
    {
        label: '男',
        value: 0
    },
    {
        label: '女',
        value: 1
    }
]

// 状态选型
const statusOptions = [
    {
        label: '正常',
        value: 0,
        class: 'success'
    },
    {
        label: '停用',
        value: 1,
        class: 'danger'
    }
]

// 权限类型
const menuTypeOptions = [
    {
        label: '目录',
        value: 0
    },
    {
        label: '菜单',
        value: 1
    },
    {
        label: '按钮',
        value: 2
    }
]

// 订单状态
const orderStatusOptions = [
    {
        label: '全部',
        value: 0
    },
    {
        label: '待结算',
        value: 1
    },
    {
        label: '待揽件',
        value: 2
    },
    {
        label: '运输中',
        value: 3
    },
    {
        label: '已签收',
        value: 4
    },
    {
        label: '有退费',
        value: 5
    }
]

// 折扣类型
const discountTypeOptions = [
    {
        label: '阶梯折扣',
        value: 0
    },
    {
        label: '固定折扣比例',
        value: 1
    }
]

// 结算类型
const settlementTypeOptions = [
    {
        label: '单单付',
        value: 0
    },
    {
        label: '预充值',
        value: 1
    },
    {
        label: '月结',
        value: 2
    }
]

// 地址报备状态
const reportOptions = [
    {
        label: '未报备',
        value: 0,
        class: 'grey'
    },
    {
        label: '报备中',
        value: 1,
        class: 'blue'
    },
    {
        label: '报备失败',
        value: 2,
        class: 'red'
    },
    {
        label: '报备成功',
        value: 2,
        class: 'green'
    }
]

// 取件方式
const pickupMethodOptions = [
    {
        label: '快递员上门取件',
        value: 0
    },
    {
        label: '自行联系快递员或自寄',
        value: 1
    }
]

// 是否保价
const isureOptions = [
    {
        label: '不保价',
        value: 0
    },
    {
        label: '保价',
        value: 1
    }
]

// 取消订单选项
const cancelOrderOptions = [
    {
        label: '预约信息有误',
        value: 1
    },
    {
        label: '快递员无法取件',
        value: 2
    },
    {
        label: '上门太慢',
        value: 3
    },
    {
        label: '运费太贵',
        value: 4
    },
    {
        label: '联系不上快递员',
        value: 7
    },
    {
        label: '快递员要求取消',
        value: 8
    },
    {
        label: '超时未接单',
        value: 9
    },
    {
        label: '其他',
        value: 11
    }
]

// 是否打印
const isPrintOptions = [
    {
        label: '全部',
        value: 0
    },
    {
        label: '未打印',
        value: 1
    },
    {
        label: '已打印',
        value: 2
    }
]

// vip开通状态
const vipStatusOptions = [
    {
        label: '未开通',
        value: 0
    },
    {
        label: '已开通',
        value: 1
    }
]

// 公众号关注状态
const focusWechaStatusOptions = [
    {
        label: '未关注',
        value: 0
    },
    {
        label: '已关注',
        value: 1
    }
]

// 用户等级状态
const userLevelStatusOptions = [
    {
        label: '普通用户',
        value: 0
    },
    {
        label: '99代理',
        value: 1
    },
    {
        label: '299代理',
        value: 2
    },
    {
        label: '试用代理',
        value: 3
    }
]

// 代理等级
const agentLevelStatusOptions = [
    {
        label: '299代理',
        value: 2
    },
    {
        label: '试用代理',
        value: 3
    }
]

// 注册类型状态
const isDirectStatusOptions = [
    {
        label: '自然用户',
        value: 0
    },
    {
        label: '间接邀请',
        value: 1
    },
    {
        label: '普通邀请',
        value: 2
    },
    {
        label: '直接邀请',
        value: 3
    }
]

// 工单状态
const workOrderStatusOptions = [
    {
        label: '待处理',
        value: 0
    },
    {
        label: '处理中',
        value: 1
    },
    {
        label: '已处理',
        value: 2
    }
]

// 工单提交状态
const workOrderSubmitStatusOptions = [
    {
        label: '提交失败',
        value: 0
    },
    {
        label: '提交成功',
        value: 1
    }
]

// 工单数据来源
const workOrderSourceStatusOptions = [
    {
        label: '客户',
        value: 1
    },
    {
        label: '电商平台',
        value: 2
    },
    {
        label: '快递鸟',
        value: 3
    },
    {
        label: '云工单',
        value: 4
    }
]

// 是否默认地址
const defaultAddressStatusOptions = [
    {
        label: '否',
        value: 0
    },
    {
        label: '是',
        value: 1
    }
]

// 充值类型
const rechargeTypeOptions = [
    {
        label: 'vip',
        value: 0
    },
    {
        label: '次卡',
        value: 1
    }
]

// 充值类型
const isPayAgentMoneyOptions = [
    {
        label: '未支付',
        value: 0
    },
    {
        label: '已支付',
        value: 1
    }
]

// 代理费支付状态
const payAgentMoneyStatusOptions = [
    {
        label: '已支付',
        value: 1
    },
    {
        label: '无需支付',
        value: 2
    }
]

// 提现类型
const withdrawTypeOptions = [
    {
        label: '推广佣金提现',
        value: 0
    },
    {
        label: '代理分润提现',
        value: 1
    },
    {
        label: '代理快递卡提现',
        value: 2
    }
]

// 提现状态
const withdrawStatusOptions = [
    {
        label: '待审核',
        value: 0
    },
    {
        label: '审核失败',
        value: 1
    },
    {
        label: '审核成功,打款中',
        value: 2
    },
    {
        label: '打款成功',
        value: 3
    }
]

// 提现状态
const hxStatusOptions = [
    {
        label: '未核销',
        value: 0
    },
    {
        label: '已核销',
        value: 1
    }
]

// 快递公司
const carrierOptions = [
    {
        label: '极兔速递B',
        value: 'JTSD'
    },
    {
        label: '圆通B',
        value: 'YTO'
    },
    {
        label: '申通B',
        value: 'STO'
    },
    {
        label: '韵达B',
        value: 'YD'
    },
    {
        label: '极兔',
        value: 'jtexpress'
    },
    {
        label: '圆通',
        value: 'yuantong'
    },
    {
        label: '申通',
        value: 'shentong'
    },
    {
        label: '韵达',
        value: 'yunda'
    }
]

// 计费状态
const billPayOptions = [
    {
        label: '未计费',
        value: 0
    },
    {
        label: '已计费',
        value: 1
    }
]

export {
    restfulApiOptions,
    genderOptions,
    statusOptions,
    menuTypeOptions,
    orderStatusOptions,
    discountTypeOptions,
    settlementTypeOptions,
    reportOptions,
    pickupMethodOptions,
    isureOptions,
    cancelOrderOptions,
    isPrintOptions,
    vipStatusOptions,
    focusWechaStatusOptions,
    userLevelStatusOptions,
    agentLevelStatusOptions,
    isDirectStatusOptions,
    workOrderStatusOptions,
    workOrderSubmitStatusOptions,
    workOrderSourceStatusOptions,
    defaultAddressStatusOptions,
    rechargeTypeOptions,
    isPayAgentMoneyOptions,
    payAgentMoneyStatusOptions,
    withdrawTypeOptions,
    withdrawStatusOptions,
    hxStatusOptions,
    carrierOptions,
    billPayOptions
}
